Skip to content
This repository has been archived by the owner on Aug 11, 2024. It is now read-only.

Do less work when block editor is disabled #1036

Merged
merged 4 commits into from
Dec 19, 2023

Conversation

gordonbrander
Copy link
Collaborator

This PR re-works block editor setup and polling logic to do nothing when block editor is disabled.

Previously this logic was harmless, but was still running in the background.

The "pull" polling approach implemented here will give us more flexibility in future to do things like #1035

Relies on subconsciousnetwork/ObservableStore#45

@gordonbrander gordonbrander added Bug Something isn't working Performance labels Dec 18, 2023
Copy link
Collaborator

@bfollington bfollington left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved, make sure to update ObservableStore version before merging

@gordonbrander
Copy link
Collaborator Author

ObservableStore release landed https://github.com/subconsciousnetwork/ObservableStore/releases/tag/v0.6.1

Updated PR to require [email protected].

@gordonbrander gordonbrander merged commit 3edc461 into main Dec 19, 2023
2 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Bug Something isn't working Performance
Projects
Status: 🌱 Done
Development

Successfully merging this pull request may close these issues.

2 participants